<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="https://unpkg.com/vue@next"></script>
<div id="app">
    <component-a></component-a>
    <component-b></component-b>
    <component-c></component-c>
</div>
<script>
    const ComponentA = {
        data() {
            return {}
        },

        template: `
            <div>component A</div>
        `
    }

    const ComponentB = {
        data() {
            return {}
        },
        components: {
            'component-a': ComponentA
        },
        template: `
            <div>Component B</div>
            <component-a></component-a>
        `
    }

    const ComponentC = {
        data() {
            return {}
        },

        template: `
            <div>Component C</div>
        `
    }

    const vueOpt = {
        data(){
            return {

            }
        },

        components: {
            'component-a': ComponentA,
            'component-b': ComponentB,
            'component-c': ComponentC
        }
    }

    Vue.createApp(vueOpt).mount('#app');

</script>
</body>
</html>
